package com.powernode.money.service;

import com.powernode.money.model.LoanInfo;

import java.util.List;

public interface LoanInfoService {
    double queryHistoryAverageRate();

    LoanInfo queryByPrimaryKey(Integer id);

    List<LoanInfo> queryByProductTypeWithPage(int ptype, int pageNum, int pageSize);

    int executeUpdateByPrimaryKeySelective(LoanInfo record);

    int queryRowsByPtype(int ptype);
}
